
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.FeedTaskQuality;
import cn.edu.scau.cmi.hombio.domain.FodderStorage;
import cn.edu.scau.cmi.hombio.domain.FodderTake;
import cn.edu.scau.cmi.hombio.domain.FodderType;
import cn.edu.scau.cmi.hombio.domain.Unit;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for FodderType entities
 * 
 */
public interface FodderTypeService {

	/**
	* Delete an existing FeedTaskQuality entity
	* 
	 */
	public FodderType deleteFodderTypeFeedTaskQualities(Integer foddertype_id, Integer related_feedtaskqualities_id);

	/**
	* Save an existing FodderTake entity
	* 
	 */
	public FodderType saveFodderTypeFodderTakes(Integer id, FodderTake related_foddertakes);

	/**
	* Load an existing FodderType entity
	* 
	 */
	public Set<FodderType> loadFodderTypes();

	/**
	* Delete an existing FodderStorage entity
	* 
	 */
	public FodderType deleteFodderTypeFodderStorages(Integer foddertype_id_1, Integer related_fodderstorages_id);

	/**
	* Save an existing Unit entity
	* 
	 */
	public FodderType saveFodderTypeUnit(Integer id_1, Unit related_unit);

	/**
	* Save an existing FodderType entity
	* 
	 */
	public void saveFodderType(FodderType foddertype);

	/**
	* Delete an existing FodderType entity
	* 
	 */
	public void deleteFodderType(FodderType foddertype_1);

	/**
	* Save an existing FeedTaskQuality entity
	* 
	 */
	public FodderType saveFodderTypeFeedTaskQualities(Integer id_2, FeedTaskQuality related_feedtaskqualities);

	/**
	* Save an existing FodderStorage entity
	* 
	 */
	public FodderType saveFodderTypeFodderStorages(Integer id_3, FodderStorage related_fodderstorages);

	/**
	* Delete an existing Unit entity
	* 
	 */
	public FodderType deleteFodderTypeUnit(Integer foddertype_id_2, Integer related_unit_id);

	/**
	* Return a count of all FodderType entity
	* 
	 */
	public Integer countFodderTypes();

	/**
	* Delete an existing FodderTake entity
	* 
	 */
	public FodderType deleteFodderTypeFodderTakes(Integer foddertype_id_3, Integer related_foddertakes_id);

	/**
	* Return all FodderType entity
	* 
	 */
	public List<FodderType> findAllFodderTypes(Integer startResult, Integer maxRows);

	/**
	 */
	public FodderType findFodderTypeByPrimaryKey(Integer id_4);
}